package javango.api;

import java.lang.reflect.Method;

/**
 * Describes triplet of: class, its method and its paramters.
 */
final public class MethodObjectParams {

    private Method method;
    private Object[] args;
    private Class clazz;

    public MethodObjectParams(Class clazz, Method method, Object[] args) {
        this.method = method;
        this.args = args;
        this.clazz = clazz;
    }

    public Class getClazz() {
        return clazz;
    }

    public Method getMethod() {
        return method;
    }

    public Object[] getArguments() {
        return args;
    }

}
